<?php
	####################################################
	# library import and object instance.              #
	####################################################
	include_once('./common.php');


	####################################################
	# request data($_POST AND $_GET FROM $_REQUEST)    #
	####################################################
	# REQUEST(get and post variables)

	# GET(url variables)

	# POST(form variables)

	# Validation(special case validate)

	####################################################
	# implementation                                   #
	####################################################

?>
<?php
	$html->custom_header("인덱스 페이지");
	$html->custom_js("{$JS}jquery.1.7.1.min.js");
	$html->custom_js("{$JS}lib.control.js");
	$html->custom_css("{$CSS}admin.css");
?>
<?$html->custom_body();?>
<?=$tmp->tiles_header()?>
	<h1>인덱스</h1>
	<?php if($sess['has']):?>
		로그인 되어있음.
		<br />
		<?=NTool::btn("회원정보", "Mover.href('./sign_member_info_change.php');");?>
		<?=NTool::btn("로그아웃", "Mover.href('./sign_logout_proc.php');");?>
	<?php else:?>
		로그인하세요
		<br />
		<?=NTool::btn("로그인", "Mover.href('./sign_login.php');");?>
		<?=NTool::btn("회원가입", "Mover.href('./sign_join.php');");?>
		<?=NTool::btn("비밀번호 찾기", "Mover.href('./sign_passwd_find.php');");?>
	<?php endif;?>
	<?=NTool::btn("ncrud 리스트", "Mover.href('./ncrud_list.php');");?>
	<?=NTool::btn("nscaffolding", "Mover.href('./nscaffolding.php');");?>
<?=$tmp->tiles_footer()?>
<?php $html->html_footer(); ?>